using IngameDebugConsole;
using UnityEngine;
using UnityEngine.EventSystems;

public class GameConfig : MonoBehaviour
{
    public EventSystem EventSystem;
    public Camera MainCamera;
    public Camera UICamera;
    public Transform EneityContainer;
    private void Awake()
    {
        if (EventSystem.current != this.EventSystem)
        {
            EventSystem.current.gameObject.SetActive(false);
        }
        DebugLogConsole.AddCommand("test", "测试", () => { Debug.LogError("adp"); });
        DebugLogConsole.AddCommand<Vector3>("addGo", "添加一个gameobject", (Vector3 v) => { Debug.LogError(v); });
    }
}